package game;
import java.util.Scanner;
public class User {
    String name;
    int WinCount;
    public int show() {
        Scanner  sc=new Scanner(System.in);
        System.out.println("请输入1石头,2剪刀，3布,输入除整数外全部类型都会被电击");
        int num=sc.nextInt();
        return num;
    }
    public String showName(int num) {
        switch (num) {
            case 1:
                return ("你出的是石头");
            case 2:
                return ("你出的是剪刀");
            case 3:
                return ("你出的是布");
            default:
                return ("你输入的数字有误");
        }
    }
}
